//alert('感谢你们的等待，我本以为只是搜索功能出现问题\n就直接挂了个暂停使用，想着等期末考完试再解决（大二在读）\n今天趁有空试了一下没想到整个网站都用不了了，就赶紧抽空修复了\n目前网站可以正常使用了，万分抱歉')
function gid(id){
	return document.getElementById(id)
}
function cleanhtml(){
	gid("name").innerHTML = "";
	gid("cmd").innerHTML = "";
	gid("cmd2").innerHTML = "";
	gid("cmd3").innerHTML = "";
	gid("cmd4").innerHTML = "";
	gid("cmd5").innerHTML = "";
	gid("cmdst").innerHTML = "";
}
function 检查是否生成武器(){
	var a = gid("cmd").innerText;
	if (a == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 35px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先选择武器</p>';
		gid('menu').id = 'ERER';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('ERER').id = 'menu';
			gid('ertixinger').id = 'ertixing';
		}, 2000);
		defsthq();
		return false;
	}
}
function 添加(name, myCars, myonclick) {
	var x = myCars.length;
	var x = x - 1;
	gid("WPleixing").innerHTML = "";
	for (var i = 0; i <= x; i++) {
		gid('WPleixing').innerHTML +='<div class="box"><div><svg preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><defs><linearGradient id="linear" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" stop-color="#f079ba"/><stop offset="100%" stop-color="#e34a82"/></linearGradient></defs><path fill="url(#linear)" fill-opacity="1" d="M0,224L60,208C120,192,240,160,360,165.3C480,171,600,213,720,197.3C840,181,960,107,1080,74.7C1200,43,1320,53,1380,58.7L1440,64L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"></path></svg><div>' +name + '</div><a class="WPname2" onclick="' + myonclick[i] + '">' + myCars[i] + '</a></div></div>';
	}
}
function 队友输入() {
	gid("ertixing").innerHTML = "";
	gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">记得输入队友名字哦</p>';
	gid('Addfriend').className = 'newadder';
	gid('ertixing').id = 'ertixinger';
	setTimeout(function() {
		gid('Addfriend').className = 'newadd';
		gid('ertixinger').id = 'ertixing';
	}, 3000);
}
function DIYSJ(){
	gid("WPleixing").innerHTML = "";
	gid("WPleixing").innerHTML += '<p>教程：1.输入内容并点击生成</p><p>　　　2.选择阵营</p><p>　　　3.选择显示方式</p><p>　　　4.复制代码</p><p>　</p><p>一，输入无线电内容：</p><input type="text"class="newadd" style="width: 400px;" id="show"onfocus="Function1(this)" autocomplete="on"/><p>　</p><button type="button" onclick="自定义彩色无线电()"id="buttonbc1" class="buttonbc""/>生成</button><button type=" button" onclick="cleantxt1()"class="buttonbc" />删除</button><div id="drom01"><form><button type="submit" onclick="restwy()" class="buttonbc">快捷保存</button></form><div>';
	gid("WPleixing").innerHTML += '<p><p id="xshearh5">二，请选择显示方式：</p><label><input type="radio" name="XS" id="XS1" onclick="yesshow()" class="radio_type">换行</label><label><div id="diysjbox"><p><a id="diyuser0name">ACT丶流星雨</a>（无线电）： 需要支援。</p><p><a id="shoudiysj" style="color: red;">自定义内容</a></p><p><a id="diyuser1name">ACT丶流星雨</a>（无线电）： 需要支援。</p></div></label><input type="radio" name="XS" id="XS2" onclick="noshow()" class="radio_type">直接显示<label><div id="diysjbox"><p><a id="diyuser2name">ACT丶流星雨</a>（无线电）： <a id="shoudiysj2" style="color: red;">自定义内容</a></p><p><a id="diyuser3name">ACT丶流星雨</a>（无线电）： 需要支援。</p></div></label><input type="radio" name="XS" id="XS3" onclick="yesshow2()" class="radio_type">带名换行<label><div id="diysjbox"><p><a id="diyuser4name">ACT丶流星雨</a>（无线电）： 需要支援。</p><p><a id="diyuser5name">ACT丶流星雨</a>：<a id="shoudiysj3" style="color: red;">自定义内容</a></p><p><a id="diyuser6name">ACT丶流星雨</a>（无线电）： 需要支援。</p></div></label><input type="radio" name="XS" id="XS4" style="opacity: 0;"></p>';
}
function DIYYS(){
	gid("WPleixing").innerHTML = "";
	gid("WPleixing").innerHTML += '<p></p><a>1.添加文字：</a><input type="text" class="newadd" id="zdyshow" autocomplete="on" onfocus="Function2(this)" /><button type="button" onclick="aa(0)"><a style="color: #d1d1d1 ;">白色</a></button><button type="button" onclick="aa(1)"><a style="color: #55aa00 ;">绿色</a></button><button type="button" onclick="aa(2)"><a style="color: #00aaff ;">淡蓝色</a></button><button type="button" onclick="aa(3)"><a style="color: #0055ff ;">蓝色</a></button><button type="button" onclick="aa(4)"><a style="color: #ff0000 ;">红色</a></button><button type="button" onclick="aa(5)"><a style="color: #ffaa00 ;">金色</a></button><button type="button" onclick="aa(6)"><a style="color: #848484 ;">灰色</a></button><button type="button" onclick="aa(7)"><a style="color: #55ff7f ;">淡绿色</a></button><button type="button" onclick="aa(8)"><a style="color: #ff5964 ;">淡红色</a></button><button type="button" onclick="aa(9)"><a style="color: #ba6aff ;">浅紫色</a></button><button type="button" onclick="testx()"><a style="color: #000 ;">清空</a></button><input type="radio" name="XS" id="XS4" style="opacity: 0;"></p><p><input type="text" name="" id="zdyshowshow" autocomplete="on" disabled="ture" style="opacity: 0;" /><div id="colorshow"><div id="showhuanhang"><h5>一、使用教程</h5><p>1.输入自定义内容</p><p>2.选择显示方式，然后复制</p><br><h5 id="xshearh5">二、选择显示方式：<h5></div><div id="showhuanhang"><label><input type="radio" name="XS" id="XS1" onclick="yesshows()" class="radio_type">换行</label><p><a id="diyuser0name">ACT丶流星雨:</a>(无线电）： 需要支援。</p><span id="colorshowpro" style="height: 20px;"><span id="delc1"></span></span><p><a id="diyuser6name">ACT丶流星雨:</a>(无线电）： 需要支援。</p></div><div id="showhuanhang"><br><label><input type="radio" name="XS" id="XS2" onclick="noshows()" class="radio_type">直接显示</label><p><a id="diyuser1name">ACT丶流星雨</a>（无线电）： <span id="colorshowpro" style="height: 20px;"><span id="delc2"></span></span></p><p><a id="diyuser2name">ACT丶流星雨</a>（无线电）： 需要支援。</p><br></div><div id="showhuanhang"><label><input type="radio" name="XS" id="XS3" onclick="yesshows2()" class="radio_type">带名换行</label><p><a id="diyuser3name">ACT丶流星雨</a>（无线电）： 需要支援。</p><p><a id="diyuser4name">ACT丶流星雨</a>（无线电）： <span id="colorshowpro" style="height: 20px;"><span id="delc3"></span></span></p><p><a id="diyuser5name">ACT丶流星雨</a>（无线电）： 需要支援。</p></div></div>';
}
function 添加侧边栏(name, wpname) {
	var x = wpname.length;
	var x = x - 1;
	gid("menu2").innerHTML = "";
	var mycolor = new Array('uno', 'dos', 'tres', 'cuatro', 'cinco', 'uno', 'dos', 'tres', 'cuatro', 'cinco', 'uno',
		'dos', 'tres', 'cuatro', 'cinco');
	var myCars = new Array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R',
		'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z');
	for (var i = 0; i <= x; i++) {
		var z = Math.floor(Math.random() * 15);
		var color = mycolor[z];
		var zimu = myCars[i];
		var na = name[i];
		var wp = wpname[i];
		gid('menu2').innerHTML += '<div class="menuItem ' + color + '" onclick="' + wp + '">' +zimu + '<span id="spanx1'+i+'">' + na + '</span></div>';
	}
}
function cleantxt1() {
	cleanhtml();
	gid("name2").innerHTML = "";
	gid("test1").innerHTML = "";
	gid("show").value = "";
}

function rest() {
	cleanhtml();
	gid("name2").innerHTML = "";
	gid("test1").innerHTML = "";
	var box = gid("weixin");
	box.parentNode.removeChild(box);
	var box2 = gid("zhifubao");
	box2.parentNode.removeChild(box2);
}

function st() {
	检查是否生成武器();
	if(检查是否生成武器())return;
	var newAdd = "（★ StatTrak™）";
	gid('cmdst').innerHTML = newAdd;
}

function stn() {
	检查是否生成武器();
	var x =gid("spanx10").innerText;
	var a ='爪子刀'
	if(x == a){
		var newAdd = "（★）";
		gid('cmdst').innerHTML = newAdd;
	}else{
		var newAdd = "";
		gid('cmdst').innerHTML = newAdd;
	}
}
function spanxx(){
	检查是否生成武器();
	var newAdd = "（★）";
	gid('cmdst').innerHTML = newAdd;
}
function CT() {
	检查是否生成武器();
	alert('手动选择仅用于为对面开箱等用途，自己使用强烈建议选择“智能选择”\n\n你已选择CT方、警')
	gid("test1").innerHTML = "";
	var newAdd = "";
	gid('test1').innerHTML += newAdd;
}

function T() {
	检查是否生成武器();
	alert('手动选择仅用于为对面开箱等用途，自己使用强烈建议选择“智能选择”\n\n你已选择T方、匪')
	gid("test1").innerHTML = "";
	var newAdd = "";
	gid('test1').innerHTML += newAdd;
}

function sh() {
	检查是否生成武器();
	gid("cmd3").innerHTML = "";
	var newAdd = " 通过交易获得了：";
	gid('cmd3').innerHTML += newAdd;
}

function wp() {
	检查是否生成武器();
	gid("cmd3").innerHTML = "";
	var newAdd = " 从武器箱中获得了：";
	gid('cmd3').innerHTML += newAdd;
}

function ht() {
	检查是否生成武器();
	gid("cmd3").innerHTML = "";
	var newAdd = " 已经履行了一个合同并收到了：";
	gid('cmd3').innerHTML += newAdd;
}

function HQN() {
	检查是否生成武器();
	var newAdd = "";
	gid('cmd3').innerHTML = newAdd;
}

function Function1(x) {
	gid("cmd").innerHTML = "";
	return false;
}

function Function2(x) {
	gid("cmd3").innerHTML = "";
	gid("cmd4").innerHTML = "";
	gid("cmd5").innerHTML = "";
	gid("cmdst").innerHTML = "";
	gid("test1").innerHTML = "";
	return false;
}

function yesshow() {
	if (gid("cmd").innerHTML == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 35px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先生成代码！</p>';
		gid('buttonbc1').className = 'bter2';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('buttonbc1').className = 'buttonbc';
			gid('ertixinger').id = 'ertixing';
		}, 3000);
		gid('XS4').checked = true;
		return false;
	}
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
	}
	var newAdd = "需要支援。　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　 ";
	gid('cmd2').innerHTML = newAdd;
	gid("name2").innerHTML = "";
}

function noshow() {
	if (gid("cmd").innerHTML == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 35px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先生成代码！</p>';
		gid('buttonbc1').className = 'bter2';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('buttonbc1').className = 'buttonbc';
			gid('ertixinger').id = 'ertixing';
		}, 3000);
		gid('XS4').checked = true;
		return false;
	}
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
	}
	gid("name2").innerHTML = "";
	gid("cmd2").innerHTML = "";
}

function yesshow2() {
	if (gid("cmd").innerHTML == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 35px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先生成代码！</p>';
		gid('buttonbc1').className = 'bter2';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('buttonbc1').className = 'buttonbc';
			gid('ertixinger').id = 'ertixing';
		}, 3000);
		gid('XS4').checked = true;
		return false;
	}
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
	}
	var newAdd = gid('newAdd').value;
	gid('name2').innerHTML = newAdd + ':';
	var newAdd = "需要支援。　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　 ";
	gid('cmd2').innerHTML = newAdd;
}



function yesshows() {
	if (gid("cmd4").innerHTML == "") {
		alert("请先输入内容");
		gid('XS4').checked = true;
		return false;
	}
	var newAdd = "1";
	gid('name').innerHTML = newAdd;
	var newAdd = "playerchatwheel";
	gid('cmd').innerHTML = newAdd;
	var newAdd = "需要支援。　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　 ";
	gid('cmd2').innerHTML = newAdd;
	gid("name2").innerHTML = "";
}

function noshows() {
	if (gid("cmd4").innerHTML == "") {
		alert("请先输入内容");
		gid('XS4').checked = true;
		return false;
	}
	var newAdd = "1";
	gid('name').innerHTML = newAdd;
	var newAdd = "playerchatwheel";
	gid('cmd').innerHTML = newAdd;
	gid("name2").innerHTML = "";
	gid("cmd2").innerHTML = "";
}

function yesshows2() {
	if (gid("cmd4").innerHTML == "") {
		alert("请先输入内容");
		gid('XS4').checked = true;
		return false;
	}
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
	}
	var newAdd = "1";
	gid('name').innerHTML = newAdd;
	var newAdd = "playerchatwheel";
	gid('cmd').innerHTML = newAdd;
	var newAdd = gid('newAdd').value;
	gid('name2').innerHTML = newAdd + ':';
	var newAdd = "需要支援。　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　 ";
	gid('cmd2').innerHTML = newAdd;
}













function browserRedirect() {
	var sUserAgent = navigator.userAgent.toLowerCase();
	if (/ipad|iphone|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/.test(sUserAgent)) {
		alert("手机目前没有适配，请使用电脑端访问");
	}
}
browserRedirect();

function help() {
	window.open('https://www.bilibili.com/video/BV16h411n7C8?spm_id_from=333.999.0.0');
}

function copyUrl2() {
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('bt').className = 'bter';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('bt').className = 'fuzhibt';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
		var a = gid("cmd4").innerText;
		if (a == "") {
			gid("ertixing").innerHTML = "";
			gid('ertixing').innerHTML +='<p style="font-size: 35px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先选择武器</p>';
			gid('menu').id = 'ERER';
			gid('ertixing').id = 'ertixinger';
			setTimeout(function() {
				gid('ERER').id = 'menu';
				gid('ertixinger').id = 'ertixing';
			}, 2000);
			return false;
		}
		if(gid("spanx10").innerText=='随机颜色'){
				var radios = document.getElementsByName("XS");
				var checked = false;
				for (var j = 0; j < radios.length; j++) {
					if (radios[j].checked == true) {
						checked = true;
					}
				}
				if (!checked) {
				gid("ertixing").innerHTML = "";
				gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请选显示方式哦</p>';
				gid('xshearh5').id = 'ERER';
				gid('bt').className = 'bter';
				gid('ertixing').id = 'ertixinger';
				setTimeout(function() {
					gid('ERER').id = 'xshearh5';
					gid('bt').className = 'fuzhibt';
					gid('ertixinger').id = 'ertixing';
				}, 4000);
				return false;
				}
			}
		if (gid("cmd").innerHTML == "") {
			gid("ertixing").innerHTML = "";
			gid('ertixing').innerHTML +='<p style="font-size: 35px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">代码错误！</p>';
			gid('bt').className = 'bter';
			gid('ertixing').id = 'ertixinger';
			setTimeout(function() {
				gid('bt').className = 'fuzhibt';
				gid('ertixinger').id = 'ertixing';
			}, 4000);
			return false;
		}
	var radios = document.getElementsByName("HQ");
	var checked = false;
	for (var j = 0; j < radios.length; j++) {
		if (radios[j].checked == true) {
			checked = true;
		}
	}
	if (!checked) {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请选择获取哦</p>';
		gid('HQ').id = 'ERER';
		gid('bt').className = 'bter';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('ERER').id = 'HQ';
			gid('bt').className = 'fuzhibt';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}

	var radios = document.getElementsByName("ST");
	var checked = false;
	for (var j = 0; j < radios.length; j++) {
		if (radios[j].checked == true) {
			checked = true;
		}
	}
	if (!checked) {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请选择武器类型哦</p>';
		gid('st').id = 'ERER';
		gid('bt').className = 'bter';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('ERER').id = 'st';
			gid('bt').className = 'fuzhibt';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	var x =gid("spanx10").innerText;
	var a ='随机颜色'
	if(x == a){
		var radios = document.getElementsByName("XS");
		var checked = false;
		for (var j = 0; j < radios.length; j++) {
			if (radios[j].checked == true) {
				checked = true;
			}
		}
		if (!checked) {
			gid("ertixing").innerHTML = "";
			gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请选显示类型哦</p>';
			gid('st').id = 'ERER';
			gid('bt').className = 'bter';
			gid('ertixing').id = 'ertixinger';
			setTimeout(function() {
				gid('ERER').id = 'st';
				gid('bt').className = 'fuzhibt';
				gid('ertixinger').id = 'ertixing';
			}, 4000);
			return false;
		}
	}
	var radios = document.getElementsByName("ZY");
	var checked = false;
	for (var j = 0; j < radios.length; j++) {
		if (radios[j].checked == true) {
			checked = true;
		}
	}
	if (!checked) {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请选择阵营哦</p>';
		gid('tct').id = 'ERER';
		gid('bt').className = 'bter';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('ERER').id = 'tct';
			gid('bt').className = 'fuzhibt';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	} else {
		var Url2 = gid("cmd0").innerText;
		if (Url2.length < 110) {
		var oInput = document.createElement('input');
		oInput.value = Url2;
		document.body.appendChild(oInput);
		oInput.select();
		document.execCommand("Copy");
		oInput.className = 'oInput';
		oInput.style.display = 'none';
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 35px;text-align: center;color: rgba(85, 255, 0, 1);line-height: 25px;height:100px;width:400px;">复制成功！</p>';
		gid('bt').className = 'btg';
		gid('ertixing').id = 'ertixinger';
		var x =gid("spanx10").innerText;
		var a ='随机颜色'
		if(x != a){
			cleanhtml();
		}
		setTimeout(function() {
			gid('bt').className = 'fuzhibt';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
	}else{
		alert('复制失败，命令字数超出游戏限制，可以取消暗金武器或者改变获取方式减少字数。')
	}
	}
}

! function(e, t, a) {
	function r() {
		for (var e = 0; e < s.length; e++) s[e].alpha <= 0 ? (t.body.removeChild(s[e].el), s.splice(e, 1)) : (s[e].y--,s[e].scale += .004, s[e].alpha -= .013, s[e].el.style.cssText = "left:" + s[e].x + "px;top:" + s[e].y +"px;opacity:" + s[e].alpha + ";transform:scale(" + s[e].scale + "," + s[e].scale +") rotate(45deg);background:" + s[e].color + ";z-index:99999");
		requestAnimationFrame(r)
	}

	function n() {
		var t = "function" == typeof e.onclick && e.onclick;e.onclick = function(e) {
			t && t(), o(e)
		}
	}

	function o(e) {
		var a = t.createElement("div");a.className = "heart", s.push({
			el: a,
			x: e.clientX - 5,
			y: e.clientY - 5,
			scale: 1,
			alpha: 1,
			color: c()
		}), t.body.appendChild(a)
	}

	function i(e) {
		var a = t.createElement("style");
		a.type = "text/css";
		try {
			a.appendChild(t.createTextNode(e))
		} catch (t) {
			a.styleSheet.cssText = e
		}
		t.getElementsByTagName("head")[0].appendChild(a)
	}

	function c() {
		return "rgb(" + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + ")"
	}
	var s = [];
	e.requestAnimationFrame = e.requestAnimationFrame || e.webkitRequestAnimationFrame || e.mozRequestAnimationFrame ||
		e.oRequestAnimationFrame || e.msRequestAnimationFrame || function(e) {
			setTimeout(e, 1e3 / 60)
		}, i(
			".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"
		), n(), r()
}(window, document);

function stop() {
	return false;
}
document.oncontextmenu = stop;

function 限制() {
	var newAdd = gid('newAdd').value;
	if (newAdd.length >= 15) {
		alert("名字超出限制\n字数限制7个\n(英文或数字也等于1个字)");
		return false;
	}
}
function 金品(wp1, wp2) {
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	cleanhtml();
	var newAdd = gid('newAdd').value;
	gid('name2').innerHTML = newAdd;
	var newAdd = "1";
	gid('name').innerHTML += newAdd;
	var newAdd = "playerchatwheel";
	gid('cmd').innerHTML += newAdd;
	var newAdd = "需要支援。　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　 ";
	gid('cmd2').innerHTML += newAdd;
	var newAdd = " ";
	gid('cmd3').innerHTML += newAdd;
	var newAdd = "" + wp1;
	gid('cmd4').innerHTML += newAdd;
	var newAdd = " | " + wp2;
	gid('cmd5').innerHTML += newAdd;
	defsthq();
}

function 红品(wp1, wp2) {
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	cleanhtml();
	var newAdd = gid('newAdd').value;
	gid('name2').innerHTML = newAdd;
	var newAdd = "1";
	gid('name').innerHTML += newAdd;
	var newAdd = "playerchatwheel";
	gid('cmd').innerHTML += newAdd;
	var newAdd = "需要支援。　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　 ";
	gid('cmd2').innerHTML += newAdd;
	var newAdd = " ";
	gid('cmd3').innerHTML += newAdd;
	var newAdd = "" + wp1;
	gid('cmd4').innerHTML += newAdd;
	var newAdd = " | " + wp2;
	gid('cmd5').innerHTML += newAdd;
	defsthq();
}
function 蓝品(wp1, wp2) {
	var x = document.getElementsByName("ST");
	for (var i = 0; i < x.length; i++) {
		if (x[i].checked == true) {
			x[i].checked = false;
		}
	}
	var x = document.getElementsByName("HQ");
	for (var i = 0; i < x.length; i++) {
		if (x[i].checked == true) {
			x[i].checked = false;
		}
	}
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	cleanhtml();
	var newAdd = gid('newAdd').value;
	gid('name2').innerHTML = newAdd;
	var newAdd = "1";
	gid('name').innerHTML += newAdd;
	var newAdd = "playerchatwheel";
	gid('cmd').innerHTML += newAdd;
	var newAdd = "需要支援。　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　 ";
	gid('cmd2').innerHTML += newAdd;
	var newAdd = " ";
	gid('cmd3').innerHTML += newAdd;
	var newAdd = "" + wp1;
	gid('cmd4').innerHTML += newAdd;
	var newAdd = " | " + wp2;
	gid('cmd5').innerHTML += newAdd;
	defsthq();
}

function 队友(wp1) {
	gid('STN').checked = true;
	gid('HQN').checked = true;
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	if (gid("Addfriend").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请输入队友名字哦</p>';
		gid('Addfriend').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('Addfriend').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	cleanhtml();
	var newAdd = gid('Addfriend').value;
	gid('name2').innerHTML = newAdd;
	var newAdd = "1";
	gid('name').innerHTML += newAdd;
	var newAdd = "playerchatwheel";
	gid('cmd').innerHTML += newAdd;
	var newAdd = "需要支援。　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　 ";
	gid('cmd2').innerHTML += newAdd;
	var newAdd = "" + wp1;
	gid('cmd4').innerHTML += newAdd;
}

function VAC验证错误(wp1) {
	gid('STN').checked = true;
	gid('HQN').checked = true;
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	if (gid("Addfriend").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请输入队友名字哦</p>';
		gid('Addfriend').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('Addfriend').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	cleanhtml();
	var newAdd = gid('Addfriend').value;
	gid('name2').innerHTML = '玩家 ' + newAdd;
	var newAdd = "1";
	gid('name').innerHTML += newAdd;
	var newAdd = "playerchatwheel";
	gid('cmd').innerHTML += newAdd;
	var newAdd = "需要支援。　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　 ";
	gid('cmd2').innerHTML += newAdd;
	var newAdd = wp1;
	gid('cmd4').innerHTML += newAdd;
}
function 无线电(wp1){
			gid('STN').checked=true;
			gid('HQN').checked=true;
			if(gid("newAdd").value==""){
			        gid("ertixing").innerHTML = "";
			        gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
			        gid('newAdd').className = 'newadder';
			        gid('ertixing').id = 'ertixinger';
			        setTimeout(function() {
			        	gid('newAdd').className = 'newadd';
			        	gid('ertixinger').id = 'ertixing';
			        }, 4000);
			        return false;
					}
		gid("name2").innerHTML = "";
		gid("name").innerHTML = "";
		gid("cmd").innerHTML = "";
		gid("cmd2").innerHTML = "";
		gid("cmd3").innerHTML = "";
		gid("cmd4").innerHTML = "";
		gid("cmd5").innerHTML = "";
		gid("cmdst").innerHTML = "";
		var newAdd=gid('newAdd').value;
		gid('name2').innerHTML=newAdd;
		var newAdd="1";
		gid('name').innerHTML+=newAdd;
		var newAdd="playerchatwheel";
		gid('cmd').innerHTML+=newAdd;
		var newAdd="需要支援。　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　 ";
		gid('cmd2').innerHTML+=newAdd;
		var newAdd=" ";
		gid('cmd3').innerHTML+=newAdd;
		var newAdd=""+wp1;
		gid('cmd4').innerHTML+=newAdd;
		}
function 自己验证错误(wp1) {
	gid('STN').checked = true;
	gid('HQN').checked = true;
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	cleanhtml();
	var newAdd = gid('newAdd').value;
	gid('name2').innerHTML = '玩家 ' + newAdd;
	var newAdd = "1";
	gid('name').innerHTML += newAdd;
	var newAdd = "playerchatwheel";
	gid('cmd').innerHTML += newAdd;
	var newAdd = "需要支援。　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　 ";
	gid('cmd2').innerHTML += newAdd;
	var newAdd = wp1;
	gid('cmd4').innerHTML += newAdd;
}

function 自己(wp1) {
	gid('STN').checked = true;
	gid('HQN').checked = true;
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	cleanhtml();
	var newAdd = gid('newAdd').value;
	gid('name2').innerHTML = newAdd;
	var newAdd = "1";
	gid('name').innerHTML += newAdd;
	var newAdd = "playerchatwheel";
	gid('cmd').innerHTML += newAdd;
	var newAdd = "需要支援。　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　 ";
	gid('cmd2').innerHTML += newAdd;
	var newAdd = "" + wp1;
	gid('cmd4').innerHTML += newAdd;
}

function 自定义彩色无线电(wp1) {
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	var newAdd = gid('newAdd').value;
	for(var i=0;i<7;i++){
		gid('diyuser'+i+'name').innerText = newAdd;
	}
	gid('STN').checked = true;
	gid('HQN').checked = true;
	if (gid("show").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入内容哦</p>';
		gid('show').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('show').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	gid("name").innerHTML = "";
	gid("name2").innerHTML = "";
	gid("cmd").innerHTML = "";
	gid("cmd2").innerHTML = "";
	gid("cmd3").innerHTML = "";
	gid("cmd4").innerHTML = "";
	gid("cmd5").innerHTML = "";
	gid("cmdst").innerHTML = "";
	gid("shoudiysj").innerHTML = "";
	var newAdd = "1";
	gid('name').innerHTML += newAdd;
	var newAdd = "playerchatwheel";
	gid('cmd').innerHTML += newAdd;

	var str = gid("show").value;
	var arr = str.split('');
	var myCars = new Array('', '', '', '', '', '', '', '', '', '');
	var mycolor = new Array('#fff', '#55aa00', '#00aaff', '#0055ff', '#ff0000', '#c28100', '#b6b6b6', '#55ff7f',
		'#ff5964', '#ba6aff');
	for (var i = 0; i < arr.length; i++) {
		var newAdd = arr[i];
		var z = Math.floor(Math.random() * 10);
		var color = myCars[z];
		var show = mycolor[z];
		gid('cmd4').innerHTML += color + newAdd;
		gid("shoudiysj").innerHTML += '<a style="color:'+show+';">'+newAdd+'</a>';
	}
	gid("shoudiysj2").innerHTML = gid("shoudiysj").innerHTML;
	gid("shoudiysj3").innerHTML = gid("shoudiysj").innerHTML;
	}

function aa(p) {
	gid('STN').checked = true;
	gid('HQN').checked = true;
	限制2();
	if (gid("zdyshow").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入内容哦</p>';
		gid('zdyshow').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('zdyshow').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	if (gid("newAdd").value == "") {
		gid("ertixing").innerHTML = "";
		gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请先输入名字哦</p>';
		gid('newAdd').className = 'newadder';
		gid('ertixing').id = 'ertixinger';
		setTimeout(function() {
			gid('newAdd').className = 'newadd';
			gid('ertixinger').id = 'ertixing';
		}, 4000);
		return false;
	}
	var i = Date.now();
	gid('colorshowpro').innerHTML += '<div id="delc"></div>';
	var mycolor = new Array('#fff', '#55aa00', '#00aaff', '#0055ff', '#ff0000', '#c28100', '#b6b6b6', '#55ff7f',
		'#ff5964', '#ba6aff');
	gid('delc').innerHTML += '<pre></pre>';
	var myCars = new Array('', '', '', '', '', '', '', '', '', '');
	var x = gid('zdyshow').value;
	var z = myCars[p];
	var n = x.replace(/ /g, "　");
	gid('cmd4').innerHTML += z + n;
	gid('zdyshowshow').value += z + x;
	var x = gid("delc");
	var divs = x.getElementsByTagName("pre");
	for (var i = 0; i < divs.length; i++) {
		divs[i].id = 'xx' + i;
		divs[i].style.display='inline';
		var z = 'xx' + i;
	}
	gid(z).style.color = mycolor[p];
	gid(z).innerHTML = gid("zdyshow").value;
	gid('delc2').innerHTML=gid('delc').innerHTML;
	gid('delc3').innerHTML=gid('delc').innerHTML;
	var newAdd = gid('newAdd').value;
	for(var i=0;i<7;i++){
		gid('diyuser'+i+'name').innerText = newAdd;
	}
}

function testx() {
	var box = gid("delc");
	box.parentNode.removeChild(box);
	gid('zdyshow').value = '';
	gid('cmd4').innerHTML = '';
}
function defsthq(){
	document.getElementsByName("ST")[0].checked = true;
	document.getElementsByName("HQ")[0].checked = true;
	stn();
	sh();
}
function 限制2() {
	var newAdd = gid('cmd4').innerText;
	if (newAdd.length >= 30) {
			gid("ertixing").innerHTML = "";
			gid('ertixing').innerHTML +='<p style="font-size: 35px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">字数超出限制</p>';
			gid('delc').id = 'ERER';
			gid('ertixing').id = 'ertixinger';
			setTimeout(function() {
				gid('ERER').id = 'delc';
				gid('ertixinger').id = 'ertixing';
			}, 2000);
			defsthq();
			gid('delc2').innerHTML=gid('delc').innerHTML;
			gid('delc3').innerHTML=gid('delc').innerHTML;
			return false;
	}
}



function DATA1001() {
	gid('gonggao3').innerHTML = '';
	gid("gonggao3").innerHTML =
		"<br><br><p>1.先输入名字　　　　　　　　　　2.从侧边栏选择武器</p><p>3.选择获取方式　　　　　　　　　4.选择★ StatTrak™<p><p>5.选择目前阵营　　　　　　　　　6.检查并点击复制代码<p>"
}

function DATA1003() {
	gid('gonggao3').innerHTML = '';
	gid("gonggao3").innerHTML =
		"<p>已添加：板砖</p><p>已添加：AK47|皇后</p><p>已添加：消音M4|二号玩家</p><p>已添加：弯刀|致命紫罗兰</p><p>已添加：弯刀|大马士革刚</p><p>已添加：沙漠之鹰|飞行员</p><p>已添加：快捷无线电</p><p>已添加：穿越火线英雄级武器</p><p>已添加：假装作弊功能</p><p>已添加：快捷无线电功能</p><p>已添加：AK47-火神</p><p>已添加：R8系列武器</p><p>已添加：AK47-燃料喷射器</p><p>已添加：专业手套（★）狩鹿</p><p>已添加：意式拉力(纪念品)</p>"
}

function DATA1002() {
	gid('gonggao3').innerHTML = '';
	gid("gonggao3").innerHTML = "<p>*逸</p><p>*字</p><p>*单</p><p>T*m</p><p>E*c</p><p>*子</p><p>^*^</p><p>**晨</p><p>*祥</p>"
}

function DATA1004() {
	gid('gonggao3').innerHTML = '';
	gid("gonggao3").innerHTML =
		"<br><p>添加功能：网站添加加载页</p><p>添加功能：自动输入名字</p><p>添加功能：完整自定义无线电功能</p><p>优化功能：优化逻辑选择，减少点击</p><p>添加功能：全局搜索</p><p>已升级：阵营选择功能</p><p>已完善：自定义无线电随机颜色功能</p><p>已解决：所有匕首显示错误BUG</p><p>已修正：匕首显示效果</p><p>已优化：匕首添加逻辑</p>"
}
function selectx() {
				bishou();
				if(gid("spanx10").innerText == '爪子刀'){
					var newAdd = "爪子刀　";
					gid('spanx10').innerHTML = newAdd;
				}
				gid("WPleixing").innerHTML = "";
				var l = gid('selectxvlaue').value;
				if (l == '') {
					gid("ertixing").innerHTML = "";
					gid('ertixing').innerHTML +='<p style="font-size: 40px;text-align: center;color: white;line-height: 25px;height:100px;width:400px;">请输入搜索内容哦</p>';
					gid('selectxvlaue').className = 'newadder';
					gid('ertixing').id = 'ertixinger';
					setTimeout(function() {
						gid('selectxvlaue').className = 'newadd';
						gid('ertixinger').id = 'ertixing';
					}, 4000);
					return false;
				}
				let m = l.split('');
				var arr = new Array;
				var onc = new Array;
				var myfun = new Array('jsonzzd', 'jsonjczd', 'jsonhdd', 'jsonm9cd', 'jsoncd', 'jsonxd', 'jsondj','jsonwd', 'jsonklbs', 'jsonM4A4', 'jsonAK47', 'jsonXYM4', 'jsonAWP',
					'jsonAUG', 'jsonSSG08', 'jsonSG553', 'jsonFMS', 'jsonSMZY', 'jsonUSP', 'jsonGLK', 'jsonFN57', 'jsonR8', 'jsonMAC10', 'jsonUMP45', 'jsonMP5SD', 'jsonNGF',
					'jsonYDST', 'jsonZYST', 'jsonJSST', 'jsonMTST', 'jsonGS', 'jsonzhandui', 'jsonqianming', 'json英雄武器', 'json显示作弊', 'json队友恶搞', 'json快捷无线电','json暂无分类');
				var i = myfun.length
				for (var x = 0; x < i; x++) {
					let a = eval('(' + myfun[x] + ')').Array;
					let e = eval('(' + myfun[x] + ')').name;
					let b = a.length;
					var c = Number(b);
					for (var z = 0; z < c; z++) {
						let f = eval('(' + myfun[x] + ')').Array[z];
						let on=eval('(' + myfun[x] + ')').click[z];
						let p = e + f;
						let o = p.split('');
						for (var n = 0; n < o.length; n++) {
							for (var q = 0; q < l.length; q++) {
								if (o[n] == m[q]) {
									
									arr.push("<p>" + e + "|" + f + "</p>");
									onc.push(on)
								}
							}
						}
					}
				}
				var newonc = unique(onc);
				var newArr = unique(arr);
				console.log(newonc);
				for(var q = 0; q < newArr.length; q++){
					gid('WPleixing').innerHTML +='<div class="box"><div><svg preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><defs><linearGradient id="linear" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" stop-color="#f079ba"/><stop offset="100%" stop-color="#e34a82"/></linearGradient></defs><path fill="url(#linear)" fill-opacity="1" d="M0,224L60,208C120,192,240,160,360,165.3C480,171,600,213,720,197.3C840,181,960,107,1080,74.7C1200,43,1320,53,1380,58.7L1440,64L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"></path></svg><div>' +'搜索结果' + '</div><a class="WPname3" onclick="' + newonc[q] + '">' + newArr[q] + '</a></div></div>';
				}
				if(newArr=='')
					gid('WPleixing').innerHTML += '<a style="font-size: 25px;color: white;">暂无此物品！</a>';
			}
			function unique(arr){
			    var newArr = [];
			    for(var i = 0; i < arr.length; i++){
			        for(var j = i+1; j < arr.length; j++){
			            if(arr[i] == arr[j]){
			                ++i;
			            }
			        }
			        newArr.push(arr[i]);
			    }
			    return newArr;
			}